﻿ {%extends "base.html"%}
{% block content %}
	{% if form.errors %}
        <p style="color: red;">
            Please correct the error{{ form.errors|pluralize }} below.
        </p>
    {% endif %}
	 <h1 class="centered">创建账户 <span class="header-separator-text">or</span> <a href="http://localhost:8000/accounts/login/">登陆</a></h1>
	<fieldset class="create-account-box rc-border">
	<form action="/accounts/register/" method="post">{% csrf_token %}
    {{ form.as_p }}
    <input type="submit" value="提交" />
	<input type="Reset" value="重置" />
    </form>
	</fieldset>
{% endblock %}